1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


Internet Information Server 3.0

III-165 To change the Administrator name for your Web service, change this entry.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\W3SVC\Parameters

Add the following value under the Parameters key:

Value Name: AdminName
Data Type: REG_SZ
Value: Administrator

The default value is Administrator. Change this to whatever name is appropriate for your site. Restart the service for these changes to take effect.

III-166 To change the Administrator e-mail address for your Web service, change this entry.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\W3SVC\Parameters

Add the following value under the Parameters key:

Value Name: AdminEmail
Data Type: REG_SZ
Value: Admin@corp.com

The default value is admin@corp.com. Change this value to the appropriate name for your site. Restart the service for these changes to take effect

III-167 To control the duration of a log file generated by the Web service, change this registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\W3SVC\Parameters

Add the following value under the Parameters key:

Value Name: LogFilePeriod
Data Type: REG_DWORD
Value: 1

The values for LogFilePeriod are as follows:

0  Never open a new log file. The log file size is governed by the LogFileTruncateSize value.
1  Open a new log file every day.
2  Open a new log file every week.
3  Open a new log file every month.

The default is 0. Restart the service for this value to take effect.

III-168 This entry determines the maximum size, in bytes, your Web log file can be before the Web logging module opens a new file.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\W3SVC\Parameters

Add the following value under the Parameters key:

Value Name: LogFileTruncateSize
Data Type: REG_DWORD
Value: 1,388,000

The default value is 1388000. A value of 0 means “do not truncate.”

III-169 Is your IIS not properly recognizing MIDI files? That’s because you need to add this registry key.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\InetInfo\Parameters\ MimeMap

Add the following Key under the MimeMap key:

Key: audio/midi,mid,,

Now when you want to play MIDI files, add this string:

<EMBED SRC="music1.mid" VOLUME=30 WIDTH=144 HEIGHT=60 AUTOSTART=true
hidden=true loop=true> <bgsound src="music2.mid" loop=-1>

It will work.

III-170 Do you want to limit the maximum number of user connections your Web service allows? This registry entry lets you control how many people can access your Web server at a given time. You can set it up to send a message to the client that was refused access. You can specify the content of this message in the AccessDeniedMessage value.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\W3SVC\Parameters

Add the following value under the Parameters key:

Value Name: MaxConnections
Data Type: REG_DWORD
Value: 0x186a0

Restart the service for this value to take effect.

III-171 This entry sets the message displayed when a user is denied a connection to your Web server.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\W3SVC\Parameters

Add the following value under the Parameters key:

Value Name: AccessDeniedMessage
Data Type: REG_SZ
Value: < string value >

Restart the service for this change to take effect.


Previous Table of Contents Next